Switch Pulp to use sqlite3 as default #3344
Conversation
Any chance you can update the Travis file to run against both sqlite and PostgreSQL? It would be a good check to ensure compatibility with both databases. Edit: I think these changes should work. |
pulpcore/pulpcore/app/settings.py
Outdated
'NAME': 'pulp', | ||
'USER': 'pulp', | ||
'ENGINE': 'django.db.backends.sqlite3', | ||
'NAME': '', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you still need a db name here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah ... thename should be 'pulp'
This PR enables testing on both postgresql and sqlite. Thanks to @daviddavis for the .travis file changes! re pulp#3359
I pushed those changes, but it says it's running Ruby for some reason on Travis? This Job has config:
hmmmm? |
ok test |
The .travis.yml had bad escaping in it and Travis couldn't parse it. So it reverted to the default language (ruby). I've fixed it here though: #3348. Apologies! |
# NAME: pulp | ||
# USER: pulp | ||
# ENGINE: django.db.backends.sqlite3 | ||
# NAME: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi, this needs to be 'pulp'
Closing because daviddavis fixed it! #3348 (review) |
https://pulp.plan.io/issues/3359
closes #3359